package com.poorstu.dao;

import java.util.List;

import com.common.base.dao.BaseDao;
import com.common.base.model.PaginationSupport;
import com.poorstu.model.LeaseMod;
import com.poorstu.model.LoadMoneyMod;

public interface LeaseDao extends BaseDao{
	
	public void leaseAdd(LeaseMod lease);
	public List<LeaseMod> leaseMag();
	
	public int leaseDelete(List<LeaseMod> leaseList);
	
	public LeaseMod selLeaseById(int leaseId);
	public void changeLease(LeaseMod lease);
	
	public PaginationSupport getLeaseByPage(String where,String orderField, String order,final Integer startIndex,final Integer pageSize);

	
	//贷款金额管理的
	
	public List<LoadMoneyMod> getLoadMoney();
	
	public void saveLoadMoney(LoadMoneyMod loadMoney);
	
	public  LoadMoneyMod selectLoadMoneyById(int moneyId);
	
	public void updateLoadMoney(LoadMoneyMod loadMoney);
	
	public void deleteLoadMoney(List<LoadMoneyMod> loadMoneyList);
	
}
